<div class="table">
    <table cellpadding="3" cellspacing="3" border="0" width="<?php echo '100%';  ?>">
        <tr>
            <td width="40%" align="center">
                <a href="index.php?r=service/create/view&id=<?php echo $data->id; ?>">
                    <?php echo CHtml::encode($data->name); ?> 
                </a>
            </td>
            
            <td width="10%" align="center">
                <?php
                    echo number_format($data->money,0, ',', '.');
                ?>
            </td>
            
            <td width="20%" align="center">
               <?php
                    echo CHtml::encode($data->time_create);
               ?>
            </td>
            
            <td width="15%" align="center">
               <?php
                    echo CHtml::link(CHtml::encode(Users::getName($data->user_id)),array('/user/default/index','id'=>$data->user_id));
               ?>
            </td>
            
            <td width="15%" align="center">
               <?php
                    echo CHtml::encode(BidService::countBid($data->id))." người";
               ?>
            </td>
            
            
        </tr>
    </table>
</div>
                